package com.advaita.gui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;

import com.advaita.license.Customer;
import com.advaita.util.*;

public class PathwayGuide extends JFrame {

	public PathwayGuide(Customer customer) {
		super("Pathway Guide");
		setPreferredSize(new Dimension(900, 500));
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		System.out.println("MAC Address in pathwayguide: "
				+ customer.licenseInfo.getMacAddress());
		// Set up the top menu bar
		this.setJMenuBar(new SetupMenuBar());

		SetupTabs setupTabs = new SetupTabs(customer);
		add(setupTabs, BorderLayout.CENTER);

		pack();

		setVisible(true);
	} // end of constructor

}